<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>订单详情-付款凭证</title>
<%@ include file="/page/include.jsp"%>
</head>
<style type="text/css">
.error {
	color: red;
	padding-left: 10px;
}
</style>
<body class="nav-md" style="background-color: #f7f7f7">
	<div class="container body">
		<div class="main_container">
			<div class="row" style="margin-left:2px;">
				<%--立即付款 --%>
				<input type="hidden" id="fromPage"  value="02"/>
				<button id="btn_confirm_order_pay" class="btn btn-danger">确认</button>
				<button id="btn_back" class="btn btn-default">返回</button>
			</div>
			<div id="order_print_tag" class="row" style="padding:20px;background-color: #fff;">
							<div class="row">
	                    		<div class="col-md-12 col-sm-12 col-xs-12" ">
	                    			<div class="order_detail_info_tips_container">
	                    				<div><span>【支付信息】</span><span>支付状态 :${order.orderStatusName}</span><span style='margin-left:20px;'>支付时间：${order.orderTimeStr }</span><span  style='margin-left:20px;'>支付类型：${order.payTypeName}</span></div>
	                    				<div>
	                    					<span>支付凭证：${orderPay.filePath}</span>
	                    					<span>收款银行：${orderPay.bankName}(${orderPay.bankAccount})</span>
	                    					<span>备注：</span>
	                    				</div>
	                    			</div>
	                    		</div>
	                    	</div>
	                    	
	                    	
	                    	<div class="row" style="margin-top:20px;">
	                    		<div class="col-md-12 col-sm-12 col-xs-12" ">
									<input type="hidden"  id="orderCode"  name="orderCode"  value="${orderCode}"/>
									<%-- 
									<table id="orderProductDetailTable" class="table"></table>
									--%>
									<table class="order_print_table">
										<thead>
											<td>序号</td>
											<td>付款凭证</td>
											<td>支付流水号</td>
											<td>订单编号</td>
											<td>客户名称</td>
											<td>客户电话</td>
											<td>应付金额(元)</td>
											<td>支付金额(元)</td>
										</thead>
										<c:forEach items="${payList}" var="pay" varStatus="status">
											<tr>
												<td>${status.count }</td>
												<td>
													<a rel="certImg" href="<%=PublicConfig.IMG_ROOT_URL%>${pay.filePath}">
														<img src="<%=PublicConfig.IMG_ROOT_URL%>${pay.filePath}?x-oss-process=image/resize,h_60/format,png" style="width:48px;height:48px;border:1px solid #e8e8e8;"/>
													</a>
												</td>
												<td>${pay.payCode }</td>
												<td>${order.orderCode }</td>
												<td>${order.customerName }</td>
												<td>${order.customerMobile }</td>
												<td>${order.realPayMoney }</td>
												<td>${pay.payMoney }</td>
											</tr>
										</c:forEach>
									</table>
								</div>
							</div>
							
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="${rootPath}/js/order/order_confirm_pay.js"></script>
</html>